<?php 
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');?>


<div class="pad-lr-10">


	<div class="table-list">
	 <table width="100%" cellspacing="0">
        <thead>
            <tr>
			 <th width="30" align="center">
			<input type="checkbox" value="" id="check_box" onclick="selectall('ids[]');"></th>
			
			<th width="30" align="center">ID</th>
			<th width="50" align="center">用户名</th>
			
			<th width="30" align="center">姓名</th>
			<th width="30" align="center">性别</th>
			<th width="50" align="center">手机</th>
			
			<th width="70" align="center">报名时间</th>
			<th align="center">短信内容</th>
			
            </tr>
        </thead>
    <tbody>
 <?php 
if(is_array($data)){
	foreach($data as $r){
?>   
	<tr>
	<td align="center"><input class="inputcheckbox " name="ids[]" value="<?php echo $r['id'];?>" type="checkbox"></td>
	<td align="center"><?php echo $r['id'];?></td>
	<td align="center"><?php echo $r['username'];?></td>
	
	<td align="center"><?php echo $r['name'];?></td>
	<td align="center"><?php echo $r['sex']==0? '女':'男';?></td>
	<td align="center"><?php echo $r['mobile'];?></td>
	
	<td align="center"><?php echo date('Y-m-d', $r['timeApply']);?></td>
	<td ><?php echo $r['msg'];?></td>

	</tr>
<?php 
	}
}
?>
</tbody>
    </table>
	
	<div class="btn"><label for="check_box"><?php echo L('selected_all')?>/<?php echo L('cancel')?></label>
		<input type="hidden" value="YVt4Dk" name="pc_hash">
    	<input type="button" class="button" value="排序" onclick="myform.action='?m=iappActivity&c=manages&a=listorder&dosubmit=1';myform.submit();"/>
		
		<input type="button" class="button" value="<?php echo L('delete');?>" onclick="myform.action='?m=iappActivity&c=manages&a=delete&dosubmit=1';return confirm_delete()"/>
		
		</div>  
		
		
	</div>
	
	 <div id="pages"><?php echo $this->db->pages;?></div>
	 
</div>

</body>
</html>